/**
 * 验证码表
 */

const seq = require('../seq')
const { STRING, DECIMAL, INTEGER } = require('../types')//sequelize的数据类型

const customer = seq.define('customer', {
    id: {
        type: INTEGER,
        primaryKey: true,
        allowNull: false,
        autoIncrement: true
    },
    customer: {
        type: STRING,
        comment: '客户代码'
    },
    customerAddress:{
        type: STRING,
        comment: '门店地址'
    },
    customerTel: {
        type: STRING,
        comment: '门店联系电话'
    },
    customerName: {
        type: STRING,
        comment: '门店名称'
    },
    customerArea: {
        type: STRING,
        comment: '门店所属地区'
    },
})

module.exports = customer

